package com.YCH.model.mappers.app;

import com.YCH.model.user.pojos.TbUserFan;
import com.YCH.model.user.vo.ApUserRecommand;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TbUserFanMapper {
    Integer insert(TbUserFan record);
    TbUserFan selectByFansId(@Param("userId")Long userId ,@Param("fansId") Long fansId);
    Integer deleteByFansId(@Param("userId")Long userId ,@Param("fansId") Long fansId);
    List<TbUserFan> selectUserFansByUserId(Long userId);
    Integer selectCountByUserId(Long userId);
    List<ApUserRecommand> selectUserFansCount();
}